Optimal. Leaf size=620 \[ -\frac {8 b e f p}{5 d h^3 \sqrt {h x}}+\frac {2 \sqrt {2} b e^{5/4} f p \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}-\frac {2 \sqrt {2} b e^{3/4} g p \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {2 \sqrt {2} b e^{5/4} f p \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}+\frac {2 \sqrt {2} b e^{3/4} g p \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}-\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}-\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}+\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}+\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.52, antiderivative size = 620, normalized size of antiderivative = 1.00, number of steps
used = 24, number of rules used = 11, integrand size = 29, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.379, Rules used = {2517, 2526,
2505, 331, 303, 1176, 631, 210, 1179, 642, 217} \begin {gather*} -\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}+\frac {2 \sqrt {2} b e^{5/4} f p \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}-\frac {2 \sqrt {2} b e^{5/4} f p \text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}+1\right )}{5 d^{5/4} h^{7/2}}-\frac {2 \sqrt {2} b e^{3/4} g p \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}+\frac {2 \sqrt {2} b e^{3/4} g p \text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}+1\right )}{3 d^{3/4} h^{7/2}}-\frac {\sqrt {2} b e^{5/4} f p \log \left (-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}+\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x\right )}{5 d^{5/4} h^{7/2}}+\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}+\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x\right )}{5 d^{5/4} h^{7/2}}-\frac {\sqrt {2} b e^{3/4} g p \log \left (-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}+\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x\right )}{3 d^{3/4} h^{7/2}}+\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}+\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x\right )}{3 d^{3/4} h^{7/2}}-\frac {8 b e f p}{5 d h^3 \sqrt {h x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 210
Rule 217
Rule 303
Rule 331
Rule 631
Rule 642
Rule 1176
Rule 1179
Rule 2505
Rule 2517
Rule 2526
Rubi steps
\begin {align*} \int \frac {(f+g x) \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{(h x)^{7/2}} \, dx &=\frac {2 \text {Subst}\left (\int \frac {\left (f+\frac {g x^2}{h}\right ) \left (a+b \log \left (c \left (d+\frac {e x^4}{h^2}\right )^p\right )\right )}{x^6} \, dx,x,\sqrt {h x}\right )}{h}\\ &=\frac {2 \text {Subst}\left (\int \left (\frac {f \left (a+b \log \left (c \left (d+\frac {e x^4}{h^2}\right )^p\right )\right )}{x^6}+\frac {g \left (a+b \log \left (c \left (d+\frac {e x^4}{h^2}\right )^p\right )\right )}{h x^4}\right ) \, dx,x,\sqrt {h x}\right )}{h}\\ &=\frac {(2 g) \text {Subst}\left (\int \frac {a+b \log \left (c \left (d+\frac {e x^4}{h^2}\right )^p\right )}{x^4} \, dx,x,\sqrt {h x}\right )}{h^2}+\frac {(2 f) \text {Subst}\left (\int \frac {a+b \log \left (c \left (d+\frac {e x^4}{h^2}\right )^p\right )}{x^6} \, dx,x,\sqrt {h x}\right )}{h}\\ &=-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}+\frac {(8 b e g p) \text {Subst}\left (\int \frac {1}{d+\frac {e x^4}{h^2}} \, dx,x,\sqrt {h x}\right )}{3 h^4}+\frac {(8 b e f p) \text {Subst}\left (\int \frac {1}{x^2 \left (d+\frac {e x^4}{h^2}\right )} \, dx,x,\sqrt {h x}\right )}{5 h^3}\\ &=-\frac {8 b e f p}{5 d h^3 \sqrt {h x}}-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}-\frac {\left (8 b e^2 f p\right ) \text {Subst}\left (\int \frac {x^2}{d+\frac {e x^4}{h^2}} \, dx,x,\sqrt {h x}\right )}{5 d h^5}+\frac {(4 b e g p) \text {Subst}\left (\int \frac {\sqrt {d} h-\sqrt {e} x^2}{d+\frac {e x^4}{h^2}} \, dx,x,\sqrt {h x}\right )}{3 \sqrt {d} h^5}+\frac {(4 b e g p) \text {Subst}\left (\int \frac {\sqrt {d} h+\sqrt {e} x^2}{d+\frac {e x^4}{h^2}} \, dx,x,\sqrt {h x}\right )}{3 \sqrt {d} h^5}\\ &=-\frac {8 b e f p}{5 d h^3 \sqrt {h x}}-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}+\frac {\left (4 b e^{3/2} f p\right ) \text {Subst}\left (\int \frac {\sqrt {d} h-\sqrt {e} x^2}{d+\frac {e x^4}{h^2}} \, dx,x,\sqrt {h x}\right )}{5 d h^5}-\frac {\left (4 b e^{3/2} f p\right ) \text {Subst}\left (\int \frac {\sqrt {d} h+\sqrt {e} x^2}{d+\frac {e x^4}{h^2}} \, dx,x,\sqrt {h x}\right )}{5 d h^5}-\frac {\left (\sqrt {2} b e^{3/4} g p\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h}}{\sqrt [4]{e}}+2 x}{-\frac {\sqrt {d} h}{\sqrt {e}}-\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}-\frac {\left (\sqrt {2} b e^{3/4} g p\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h}}{\sqrt [4]{e}}-2 x}{-\frac {\sqrt {d} h}{\sqrt {e}}+\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}+\frac {\left (2 b \sqrt {e} g p\right ) \text {Subst}\left (\int \frac {1}{\frac {\sqrt {d} h}{\sqrt {e}}-\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt {h x}\right )}{3 \sqrt {d} h^3}+\frac {\left (2 b \sqrt {e} g p\right ) \text {Subst}\left (\int \frac {1}{\frac {\sqrt {d} h}{\sqrt {e}}+\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt {h x}\right )}{3 \sqrt {d} h^3}\\ &=-\frac {8 b e f p}{5 d h^3 \sqrt {h x}}-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}-\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}+\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}-\frac {\left (\sqrt {2} b e^{5/4} f p\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h}}{\sqrt [4]{e}}+2 x}{-\frac {\sqrt {d} h}{\sqrt {e}}-\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}-\frac {\left (\sqrt {2} b e^{5/4} f p\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h}}{\sqrt [4]{e}}-2 x}{-\frac {\sqrt {d} h}{\sqrt {e}}+\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}-x^2} \, dx,x,\sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}+\frac {\left (2 \sqrt {2} b e^{3/4} g p\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {\left (2 \sqrt {2} b e^{3/4} g p\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {(2 b e f p) \text {Subst}\left (\int \frac {1}{\frac {\sqrt {d} h}{\sqrt {e}}-\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt {h x}\right )}{5 d h^3}-\frac {(2 b e f p) \text {Subst}\left (\int \frac {1}{\frac {\sqrt {d} h}{\sqrt {e}}+\frac {\sqrt {2} \sqrt [4]{d} \sqrt {h} x}{\sqrt [4]{e}}+x^2} \, dx,x,\sqrt {h x}\right )}{5 d h^3}\\ &=-\frac {8 b e f p}{5 d h^3 \sqrt {h x}}-\frac {2 \sqrt {2} b e^{3/4} g p \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}+\frac {2 \sqrt {2} b e^{3/4} g p \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}-\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}-\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}+\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}+\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}-\frac {\left (2 \sqrt {2} b e^{5/4} f p\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}+\frac {\left (2 \sqrt {2} b e^{5/4} f p\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}\\ &=-\frac {8 b e f p}{5 d h^3 \sqrt {h x}}+\frac {2 \sqrt {2} b e^{5/4} f p \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}-\frac {2 \sqrt {2} b e^{3/4} g p \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {2 \sqrt {2} b e^{5/4} f p \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{5 d^{5/4} h^{7/2}}+\frac {2 \sqrt {2} b e^{3/4} g p \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {h x}}{\sqrt [4]{d} \sqrt {h}}\right )}{3 d^{3/4} h^{7/2}}-\frac {2 f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 h (h x)^{5/2}}-\frac {2 g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 h^2 (h x)^{3/2}}-\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}-\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}+\frac {\sqrt {2} b e^{5/4} f p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{5 d^{5/4} h^{7/2}}+\frac {\sqrt {2} b e^{3/4} g p \log \left (\sqrt {d} \sqrt {h}+\sqrt {e} \sqrt {h} x+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {h x}\right )}{3 d^{3/4} h^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains higher order function than in optimal. Order 5 vs. order 3 in
optimal.
time = 0.12, size = 309, normalized size = 0.50 \begin {gather*} \frac {2 x^{7/2} \left (-\frac {4 b e f p \, _2F_1\left (-\frac {1}{4},1;\frac {3}{4};-\frac {e x^2}{d}\right )}{5 d \sqrt {x}}-\frac {1}{6} b g p \left (\frac {2 \left (\frac {\sqrt {2} e^{3/4} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{e} \sqrt {x}}{\sqrt [4]{d}}\right )}{\sqrt [4]{d}}-\frac {\sqrt {2} e^{3/4} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{e} \sqrt {x}}{\sqrt [4]{d}}\right )}{\sqrt [4]{d}}\right )}{\sqrt {d}}+\frac {\frac {\sqrt {2} e^{3/4} \log \left (\sqrt {d}-\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {x}+\sqrt {e} x\right )}{\sqrt [4]{d}}-\frac {\sqrt {2} e^{3/4} \log \left (\sqrt {d}+\sqrt {2} \sqrt [4]{d} \sqrt [4]{e} \sqrt {x}+\sqrt {e} x\right )}{\sqrt [4]{d}}}{\sqrt {d}}\right )-\frac {f \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{5 x^{5/2}}-\frac {g \left (a+b \log \left (c \left (d+e x^2\right )^p\right )\right )}{3 x^{3/2}}\right )}{(h x)^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\left (g x +f \right ) \left (a +b \ln \left (c \left (e \,x^{2}+d \right )^{p}\right )\right )}{\left (h x \right )^{\frac {7}{2}}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.53, size = 512, normalized size = 0.83 \begin {gather*} \frac {b f p {\left (\frac {{\left (\frac {\sqrt {2} e^{\left (-\frac {3}{4}\right )} \log \left (h x e^{\frac {1}{2}} + \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} \sqrt {h x} e^{\frac {1}{4}} + \sqrt {d} h\right )}{\left (d h^{2}\right )^{\frac {1}{4}}} - \frac {\sqrt {2} e^{\left (-\frac {3}{4}\right )} \log \left (h x e^{\frac {1}{2}} - \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} \sqrt {h x} e^{\frac {1}{4}} + \sqrt {d} h\right )}{\left (d h^{2}\right )^{\frac {1}{4}}} - \frac {2 \, \sqrt {2} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} e^{\frac {1}{4}} + 2 \, \sqrt {h x} e^{\frac {1}{2}}\right )} e^{\left (-\frac {1}{4}\right )}}{2 \, \sqrt {\sqrt {d} h}}\right ) e^{\left (-\frac {3}{4}\right )}}{\sqrt {\sqrt {d} h}} - \frac {2 \, \sqrt {2} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} e^{\frac {1}{4}} - 2 \, \sqrt {h x} e^{\frac {1}{2}}\right )} e^{\left (-\frac {1}{4}\right )}}{2 \, \sqrt {\sqrt {d} h}}\right ) e^{\left (-\frac {3}{4}\right )}}{\sqrt {\sqrt {d} h}}\right )} e}{d} - \frac {8}{\sqrt {h x} d}\right )} e}{5 \, h^{3}} - \frac {2 \, b g x^{2} \log \left ({\left (x^{2} e + d\right )}^{p} c\right )}{3 \, \left (h x\right )^{\frac {7}{2}}} + \frac {{\left (\frac {\sqrt {2} h^{2} e^{\left (-\frac {1}{4}\right )} \log \left (h x e^{\frac {1}{2}} + \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} \sqrt {h x} e^{\frac {1}{4}} + \sqrt {d} h\right )}{\left (d h^{2}\right )^{\frac {3}{4}}} - \frac {\sqrt {2} h^{2} e^{\left (-\frac {1}{4}\right )} \log \left (h x e^{\frac {1}{2}} - \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} \sqrt {h x} e^{\frac {1}{4}} + \sqrt {d} h\right )}{\left (d h^{2}\right )^{\frac {3}{4}}} + \frac {2 \, \sqrt {2} h \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} e^{\frac {1}{4}} + 2 \, \sqrt {h x} e^{\frac {1}{2}}\right )} e^{\left (-\frac {1}{4}\right )}}{2 \, \sqrt {\sqrt {d} h}}\right ) e^{\left (-\frac {1}{4}\right )}}{\sqrt {\sqrt {d} h} \sqrt {d}} + \frac {2 \, \sqrt {2} h \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} e^{\frac {1}{4}} - 2 \, \sqrt {h x} e^{\frac {1}{2}}\right )} e^{\left (-\frac {1}{4}\right )}}{2 \, \sqrt {\sqrt {d} h}}\right ) e^{\left (-\frac {1}{4}\right )}}{\sqrt {\sqrt {d} h} \sqrt {d}}\right )} b g p e}{3 \, h^{4}} - \frac {2 \, a g x^{2}}{3 \, \left (h x\right )^{\frac {7}{2}}} - \frac {2 \, b f \log \left ({\left (x^{2} e + d\right )}^{p} c\right )}{5 \, \left (h x\right )^{\frac {5}{2}} h} - \frac {2 \, a f}{5 \, \left (h x\right )^{\frac {5}{2}} h} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 1393 vs.
\(2 (407) = 814\).
time = 0.45, size = 1393, normalized size = 2.25 \begin {gather*} -\frac {2 \, {\left (d h^{4} x^{3} \sqrt {\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} + 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}} \log \left (-32 \, {\left (625 \, b^{3} d^{2} g^{4} p^{3} e^{2} - 81 \, b^{3} f^{4} p^{3} e^{4}\right )} \sqrt {h x} + 32 \, {\left (3 \, d^{4} f h^{11} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} + 125 \, b^{2} d^{3} g^{3} h^{4} p^{2} e - 45 \, b^{2} d^{2} f^{2} g h^{4} p^{2} e^{2}\right )} \sqrt {\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} + 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}}\right ) - d h^{4} x^{3} \sqrt {\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} + 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}} \log \left (-32 \, {\left (625 \, b^{3} d^{2} g^{4} p^{3} e^{2} - 81 \, b^{3} f^{4} p^{3} e^{4}\right )} \sqrt {h x} - 32 \, {\left (3 \, d^{4} f h^{11} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} + 125 \, b^{2} d^{3} g^{3} h^{4} p^{2} e - 45 \, b^{2} d^{2} f^{2} g h^{4} p^{2} e^{2}\right )} \sqrt {\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} + 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}}\right ) - d h^{4} x^{3} \sqrt {-\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} - 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}} \log \left (-32 \, {\left (625 \, b^{3} d^{2} g^{4} p^{3} e^{2} - 81 \, b^{3} f^{4} p^{3} e^{4}\right )} \sqrt {h x} + 32 \, {\left (3 \, d^{4} f h^{11} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} - 125 \, b^{2} d^{3} g^{3} h^{4} p^{2} e + 45 \, b^{2} d^{2} f^{2} g h^{4} p^{2} e^{2}\right )} \sqrt {-\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} - 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}}\right ) + d h^{4} x^{3} \sqrt {-\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} - 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}} \log \left (-32 \, {\left (625 \, b^{3} d^{2} g^{4} p^{3} e^{2} - 81 \, b^{3} f^{4} p^{3} e^{4}\right )} \sqrt {h x} - 32 \, {\left (3 \, d^{4} f h^{11} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} - 125 \, b^{2} d^{3} g^{3} h^{4} p^{2} e + 45 \, b^{2} d^{2} f^{2} g h^{4} p^{2} e^{2}\right )} \sqrt {-\frac {d^{2} h^{7} \sqrt {-\frac {625 \, b^{4} d^{2} g^{4} p^{4} e^{3} - 450 \, b^{4} d f^{2} g^{2} p^{4} e^{4} + 81 \, b^{4} f^{4} p^{4} e^{5}}{d^{5} h^{14}}} - 30 \, b^{2} f g p^{2} e^{2}}{d^{2} h^{7}}}\right ) + {\left (12 \, b f p x^{2} e + 5 \, a d g x + 3 \, a d f + {\left (5 \, b d g p x + 3 \, b d f p\right )} \log \left (x^{2} e + d\right ) + {\left (5 \, b d g x + 3 \, b d f\right )} \log \left (c\right )\right )} \sqrt {h x}\right )}}{15 \, d h^{4} x^{3}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: SystemError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.09, size = 478, normalized size = 0.77 \begin {gather*} \frac {\frac {2 \, {\left (5 \, \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} b d g h p e^{\frac {7}{4}} - 3 \, \sqrt {2} \left (d h^{2}\right )^{\frac {3}{4}} b f p e^{\frac {9}{4}}\right )} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} e^{\left (-\frac {1}{4}\right )} + 2 \, \sqrt {h x}\right )} e^{\frac {1}{4}}}{2 \, \left (d h^{2}\right )^{\frac {1}{4}}}\right ) e^{\left (-1\right )}}{d^{2} h} + \frac {2 \, {\left (5 \, \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} b d g h p e^{\frac {7}{4}} - 3 \, \sqrt {2} \left (d h^{2}\right )^{\frac {3}{4}} b f p e^{\frac {9}{4}}\right )} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} e^{\left (-\frac {1}{4}\right )} - 2 \, \sqrt {h x}\right )} e^{\frac {1}{4}}}{2 \, \left (d h^{2}\right )^{\frac {1}{4}}}\right ) e^{\left (-1\right )}}{d^{2} h} + \frac {{\left (5 \, \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} b d g h p e^{\frac {7}{4}} + 3 \, \sqrt {2} \left (d h^{2}\right )^{\frac {3}{4}} b f p e^{\frac {9}{4}}\right )} e^{\left (-1\right )} \log \left (\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} \sqrt {h x} e^{\left (-\frac {1}{4}\right )} + h x + \sqrt {d h^{2}} e^{\left (-\frac {1}{2}\right )}\right )}{d^{2} h} - \frac {{\left (5 \, \sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} b d g h p e^{\frac {7}{4}} + 3 \, \sqrt {2} \left (d h^{2}\right )^{\frac {3}{4}} b f p e^{\frac {9}{4}}\right )} e^{\left (-1\right )} \log \left (-\sqrt {2} \left (d h^{2}\right )^{\frac {1}{4}} \sqrt {h x} e^{\left (-\frac {1}{4}\right )} + h x + \sqrt {d h^{2}} e^{\left (-\frac {1}{2}\right )}\right )}{d^{2} h} - \frac {2 \, {\left (12 \, b f h^{3} p x^{2} e + 5 \, b d g h^{3} p x \log \left (h^{2} x^{2} e + d h^{2}\right ) - 5 \, b d g h^{3} p x \log \left (h^{2}\right ) + 3 \, b d f h^{3} p \log \left (h^{2} x^{2} e + d h^{2}\right ) - 3 \, b d f h^{3} p \log \left (h^{2}\right ) + 5 \, b d g h^{3} x \log \left (c\right ) + 5 \, a d g h^{3} x + 3 \, b d f h^{3} \log \left (c\right ) + 3 \, a d f h^{3}\right )}}{\sqrt {h x} d h^{2} x^{2}}}{15 \, h^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {\left (f+g\,x\right )\,\left (a+b\,\ln \left (c\,{\left (e\,x^2+d\right )}^p\right )\right )}{{\left (h\,x\right )}^{7/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________